using System;
using System.IO;
using System.IO.Compression;
using System.Web.UI;
using Blazing.Web.Util;

namespace Blazing.UI.Cms.Admin.Classes
{
    public class SiteBasePage : Page
    {
        protected override object LoadPageStateFromPersistenceMedium()
        {
            return ViewstateCompressionHelper.LoadPageStateFromPersistenceMedium(this);
        }

        protected override void SavePageStateToPersistenceMedium(object viewState)
        {
            ViewstateCompressionHelper.SavePageStateToPersistenceMedium(this, viewState);
        }
    }
}
